import math

def fun_weight():
    # 月球重量是地球的16.5%
    change = 0.165
    # 假设每年在地球增长重量0.5kg
    add = 0.5
    weight = float(input('请输入你在地球上的体重(单位:kg):'))
    weight2 = weight * change
    print('此时你在月球上的体重 %.3f kg' % weight2)
    
    for i in range(11):
        weight += (i * add)
        print('%d年过去了...' %i)
        print('你在地球的体重: %.3f' %weight)
        
        weight2 = weight * change
        print('你在月球的体重: %.3f kg'% weight2)

fun_weight()
